package com.atguigu.edusugar.service;

import com.atguigu.edusugar.bean.UserChangeCtPerType;
import com.atguigu.edusugar.mapper.TradeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cheng
 * @create 2022-10-29 9:51
 */
@Service
public class TradeServiceImpl implements TradeService {

    @Autowired
    private TradeMapper tradeMapper;

    @Override
    public List<UserChangeCtPerType> tradeCartAdd(int date) {
        return tradeMapper.tradeCartAdd(date);
    }
}
